package com.cc.config;

import com.alibaba.druid.pool.DruidDataSource;
import org.springframework.context.annotation.*;

import javax.sql.DataSource;

/**
 * @ClassName: SpringConfig
 * @Description: spring配置类
 * @Author: 晓东√
 * @Date: 2024-09-12 08:24
 * @Version: 1.0
 **/
@Configuration
@ComponentScan({"com.cc.dao","com.cc.service"})
/*@PropertySource("database.properties") //
@PropertySource("my.properties")*/
@PropertySource(value = {"classpath:database.properties", "my.properties"},encoding = "utf-8")
@Import(JdbcConfig.class)
public class SpringConfig {



}
